package com.person.bean;

import com.person.daoImpl.AdminDaoImpl;
import com.person.pojo.ArticleInfo;
import com.person.vo.Article;

public class ArticleBean {
	AdminDaoImpl adi = new AdminDaoImpl();
	boolean flag = false;
	ArticleInfo atif = new ArticleInfo();
	public ArticleInfo getArticleInfo(Article article) {
		flag = adi.AddArticle(article);
		atif.setAddSucce(flag);
		atif.setArticle(article);
		
		return atif;
	}
}
